Added state machine for User Friendships