fix user register
Merge pull request #84 from bchiatt/angular

fix user register