Changes to authenticate for admin user