added log in action socket.on