Fix sessions lifetime