Added the validations to all the required fields