Added actial setupDone/signIn logic

- Updated CAPIConnection::beforeSubmit() method
- Fixed signin.json
- Added actial setupDone/signIn logic in main.qml