Add fancy ensureAuthenticated