User model and model creation