adding getjokebyid
move sync fetch into the dao