link routes instead of mounting middleware