adding all validations for title