Create session controller