Fix typo in registration method
Fixed friend_list field on sever.