Add basic units test to the user module.
Log more info about the user.
Fix a number of bugs in the user registration module.
Remove the book sketch.

It will be kept elsewhere.