GUI: updated Identity object

- Added equals to Identity object in GUI.
- Removed unused imports.
Merge pull request #523 from zlamalp/fix

GUI: updated Identity object