add basic login/logout