manage menu on _layout & set/clear session for layout & permission for search page