Added SMS logging