Added fuctionality for double email confirmation