Added user parameter on login/join and added game_end_callback