adding missing ass require statement
configure app to use socket.io