Fixed friends list and added class method for checking friends.