completed posts controller with CRUD functionality.