add admin login and logout