fixed checking of existing username and email when changing account details