Added capability to upload photos