correct and validate search by username