added message display to base.html