Updated tty.js for google authentication using passport-google-oauth