added email confirmation feature to end of survey
merged editing for receipt view with email-confirmation branch