Routing "resolve" functions for requiring authentication and permission; isAuthenticated(); destination().