implemented sign request handler for dir server