added flash messages to comments form