added better loggin to sms sending