session component: when using rails convention export session global variable.