add take photo and send photo method