preliminary script, authenticates google login and connects