add setImage method
add methods to add and remove images to database