implemented birth date handling with leap year checking