Add use backend middleware.

Signed-off-by: crynobone <crynobone@gmail.com>