Fixed a couple of problems in the user.rb and user_friendship.rb files