sms controller and sms page