added validation to comments.php