working behavior from fronted to controller
added socket.io to node dependencies