create task for session creation, using cap variables