server side data id socket
refactor client side services for sockets