fixed forceHTTPS
fix forceHTTPS
added switch to app.coffee