added authorized so we can pass in from dashboard