added flash alerts and notices in sessions and views/layouts/application.html.erb