Added server side events (WIP)