Implemented addSubscription server-side

see #6