Add error message handling to register view.