Created api to create subscriptions