REFACTOR: loginRequired to login.required