fixed a bug with page titles on logout