Update server.js

Adding pages to respond to queries to /Devices page