basic login/logout complete