Add websockets to posts controller