add username check func