Remove default condition for switch in isAuthorized()

May have resulted in non-admins being granted access to admin functions