setting logout to root path