Finished user model and authentication.