fix controller action to fetch the date of birth correctly