add messages controller failure path