Error styles and logout