working on socket io and mongo setup