Changed from ajax to socket events