readded session handling