Added authentication using google api and tests.