removed the flash message from the app.html and rendered it from the new _messages.html.erb