removed appService, pass appid in location