Using loadCheck middleware