Changed isAdmin() to userType() to be more dynamic