deleted posts resource and need to make posts page work