Implemented PUT and GET#search  routes