added photo upload and paperclip