Added css and template for error message