Implement the frontend api call to the backend CreateGame in UserContext for the CreateGame component to use.