adjusted the accesses endpoint to the new url