For HOBBY registration the OPERATOR is registered and that # is on the aircraft. Once you are registered you simply put your new # on your aircraft. If it was commercially registered let us know and we can help with that process too.
Either way, if you friend has registered it for commercial use, you should request a bill of sale. You are likely to need that to reregister it under the new owner, you.