Started getfriends and fixed some bugs