Add socket events
Add socket events