undo logged-in page