define collection and session attribute
define UI render function and event map