Fixed Socket.io; clients now can read from server database