init frontend with api-client