Update server.js

Writes to and reads from Redis