Changed to handle google rejection