implemented URL location routing