sending data to model from form