Updating school registration code to integrate with API