remove not-needed require
fix some inconsistencies of register user
Merge pull request #166 from sbillard/master

register user fixes