created new model for menuitem controller and added the search form to it's index view page