Subscriptions fixed

When subscribe or unsubscribe a patient the function now updates the
database to store this initial information