added some testing for password and email change