CRUD functions work, working out search function