Created Friendship State Machine