Adding last error template and fadeIn effect

I have added a template to show the last error, and also a fadeIn effect when the template is rendered