add controller upload photos
change db