setup posts and delete posts for user.index controller