GUI: updated Identity object

- Added equals to Identity object in GUI.
- Removed unused imports.