Added function for sms authorization