fix how to check duplicate username