added event_id in method invite_friend_to_an_event