Added callback secret, dns names and some modifications to server provisioning function