create url mapping functionality