Add controller methods and able sockets event on cliente and server