Setting up user through the model