Improved the search function for the website
Fixed search API bug