Added code to add connections for new posts. Does not work properly yet, needs debugging.