added Login/Logout