Fix params binding; fix session lifetime