createGame handler and better server exception handling