add google credential to the req and a method to get the uri