My node middleware