changed logic so that token, itemId and clientId are put on to the url for the launcher