Added validations to the length of the title