added date picker and date persists to db