started implementing google in the controller