Added SSL toggle to relevant code, and adjusted config so that SSL is not enabled in the dev environment