admin login log out and edit