fix error when creating new user with same username