moved old messages_controller