refactored joinGame endpoint to game/:id/join