Inject the store into routes