There was a missing class in the staff controller for enabling AccessControl in the login