Changed dob in database to have date format