define default url options in environments files; add flash messages in views/layouts/application.html.erb