Sockets work

Added an id feature