Add error message for form validations and set user name by default in the 'author' field