wired up the store to the frontend app