added posts db and post associated pages