evaluate workflow and add login check