removed add post function from posts index