pass context.session to some db ops that were missing it