Added request controller and fixed secrets.js