State machine set up and Accepting friend requests