Fixing a bug in registration

Thanks @bencentra (twitter: @thebencentra) for help and testing.
Merge pull request #64 from AdwinTrave/CI3

Fixing bugs in Sign up