GUI: fixed case when username form item has no attribute assigned

- Handle case, when USERNAME form item is not properly configured.
- Prevent such app form from submission by users by setting
  validation to return always false.
Merge pull request #186 from zlamalp/appform

GUI: fixed case when username form item has no attribute assigned