fixed logout to render to root