validations for title and desc