add photo data to parse and firebase