further refactoring of the subscriptions.phtml