added photo capture and upload to aws functionality