use a getHandler method instead of creating a new one, which allows you to manage which handlers are provided for different app paths