Added Email Confirmation. Restructured password and token code.