added Friendships functionality/ fixed some bugs with user._id in UserController