Adding timeout flash messages, and model relationships