binded the model to the view