Fixed register with error if the account is exsited.