Changed base.html to include functionality to display flashed messages.