admin login, small fixes