Add validation code for self-register user, and fix some issues.
Merge branch 'master' of https://github.com/DasHerz/wifiwolf.git