add search function to home page! but still have some bugs