Work on functional GUI

- Added file uploading
- Fixed error dialogs in login GUI