Fixed message posting controller with repository pattern