adding cancan, and other improvements
adding socket.io