Added sending registration email
Merge branch 'mail'
Added confirming registration