logout and relogin --> take same root path