Added upload mechanism for photos