final change of login and out