added google authentication. cleanup.