fix login username validator