Added validation to comment model