Code formatting adjustments in the controllers