add route resource and lisson/$id view