1, revise the posts controller