using 1.ninvoke to reduce boilerplate
cleaning session_controller code by changin its helper