add post crud and output on main page