adds search functionality and create rental functionality