pagination for getting all connections added

Signed-off-by: Pavel Astraukh <paladin111333@yandex.ru>