Added form validation

Notifies the user if the author or comment fields are left empty, and
doesn't submit the comment.