username validator, fixed remove friend bug