Refactor controllers to use constants for puts