added email confirmations