added state and got google auth to work