updated some functionality and continued working on the photo uploader