added route for leaving a game, fixed a crash for accepting a game