Added Email Confirmation functionality