functions: add logout route
remove hacky content manipulations
remove orphan <p> element