Added in some more sanity checking, and something that tells you you've registered sucessfully.