add public post controller and view