changed to use identity instead of username
added in change passwo