Fix sessions only on client side