model attribute for search is added in each page