[Update] Added :active scope and implemented in controller
[Update] Create rspec for sms controller and fixed some bug in sms controller