sendSMS bug fix && dealing with duplicate logi