In the static initializer a FileInputStream is used to load client_secrets.json instead of a reader (did not compile)
In the connect servlet the UserId is retrieved from the payload via getUserId (did not compile)