logout works and login for admin works