add play services error checking