fixed an assertion in the users controller class