added validation for comments to comment.rb