Secures login for admin