Made the admin login more generic