create session controller