added viewmodel to messagespane