added in friend logic for accepting/editing friend requests