basic login, partial logout