Sample for handling url routing