some basic validation for comments and posts