Catches empty username on user search (closes #23).