Fixed admin login logic