Added a decorator to check url path arg