Updates a link in config.json
Updates sample-config and moves functions from Registration controller to util