tasks now in bd instead of session