add /secure/machine and /secure/network to app.rb