Adjusted the admin component and started to query posts