added 2 functions.  viewFriends and getUserInfo.  Also found some bugs in the login and fixed that.