adding authorize to workflow