error/success message box added