GUI: search for similar users only when form is defined

- Search for similar users only when application form
  is returned and non-empty.
Merge pull request #511 from zlamalp/registrar

GUI: search for similar users only when form is defined