console logs
socket refactor
working