(Frontend) Add get_rating to frontend context