Use google apps for authentication
sql scope adjustments for postgres compat