Added function to capitalize lastName on click