added figaro and s3 config for photo upload