first steps towards integrating server with client
extracted method: writeJSON
connected client to server sent data
fixed API test, removed obsolete E2E tests.
one more writeJSON usage
added login page
improved tracing
fixed tests
improved logging
must be authenticated to view a running game
secured changes on invitations