google authentication and redirects to original page