Added some validation and access code to the user model.
Added more validation and other changes to the user model.