finished the login functionality with google login. checks access_token for user authentication