added logging for the sms service