fixed controllers to work with instances and added destroy for posts