helper method to handle onActivityResult for google login operation