modified router to wait on posts subscription