Added viewmodels to the pages