Created user class and model.