session controller documentation