added posts component structure