finishe login-logout