GUI: search for similar users only when form is defined

- Search for similar users only when application form
  is returned and non-empty.