adding error messages to the view