redo sms controller and rout