fix login for admin