added error message display to user