sms controller