integrate route constraints with the new CurrentUser