fixed hiding and showing of 'my pages' and 'create page' when logged in/out