finish login/logout completely