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
GUI: prevent double loading application form after submission.
Merge pull request #512 from zlamalp/form

GUI: prevent double loading application form after submission.