added getall, search by id by khudrath