Fixed account registration

Corrected an error that caused the account registration page to
fail.
Merge pull request #3 from spotwise/develop

Fixed account registration