canActivate refactor