added comment submit with error check