resolve the issue with username uniqueness