Switch secure.js to the main server file