added client and server validation on registration
Merge branch 'master' of github.com:psychobunny/NodeBB