redirect if taskGuid is not set in session