add request handler for url