create session controller
set applicaiton controller