Add validation to entry creation