Added viewmodel function to capitalize last name onclick