adding photo resource with S3 for file attachments