username search handling