Adds alert to layout, for devise