add log out and repeat login
add logout and repeat login