Added pages and logout.