changed home view by adding a search bar