move /logout to /pm/logout