added check username method