Is there any way to enter a code of a friend after the registration process?
After the fact no. It cannot be entered retroactively