better device creation; add flash messages to layout