added a helper method that translates numerical star ratings into actuals stars on the index page