Setup index endpoint and test sms endpoint