Added HTTPS redirect