modularized ensureAuthenticated
game route now checks that the user is authenticated