Added refactored code to try and fix issue. Was redis server. reverted to original server.js