Implemented Search on the backend