error message bar and some general error handling on enroll and authn