Outlined session handling in the ratings() method