update base.html/ fix error messages