correction of email template path
adding sending of email activation code
adding method deactivate