add flash messages and partials
modified new.html.erb