various bits added to make username search functionality happen. It
works barring one bug (see Issue 13)