Refactor StagingsController