Adds user variable and router to access JSON