Added register basics, expanded parts of the user model, minor code cleanup (more of this cleanup to do)