edited home controller and posts controller to fix delete issues.