commit save friends and user