Made the home page search bar work.