Updates to login functionality for admins