add post view and index