serve different pages depending on the requested path