form and error flashing implemented
can now send mail after user has registered