Adding the unsubscribe function