added error message display to account page