adding validations for blog paths