remove menus from non-logged-in pages (login, registration)