Fixed some errors on new user registration
h
Bugfix