basig login/logout mechanism