removed ssl code
moved force ssl to production only