error checking for discussion creation works