connected viewmodel to view