make server logic to add subscriptions