Allocation-client subpage

[DO NOT MERGE] only for review
how often is this function called (with every change of service/env/date/page)? Maybe it'll be better to create some data structure that will keep id to service-environment mapping (dict/object)?