Adding subscribe and unsubscribe endpoints