upload photos front end and other minor fixes