Added Sms Validation and Remove unnecessary codes