Added IP field.Also added validations