Updated Controller for modified dependencies