refactor Posts Controller/Add Delete Post