add messages controller