Changed the subscription api to accept an app name