change password and log out