keep rating state in session