removed unnecessary log out