connect edit view to the view model
connect the edit page to the view model