functions for send confirming emails to user
create checkout page