fix registration errors with devise
Merge pull request #13 from mwdion/master

fix registration errors with devise