Insert Sms to database