applied error message display to comments controller