smslib send function created
sendlib used in keygen function and save result in db