* added footer template which also takes care of displaying the error messages