Rating score now saved to DB and used in order by queries, redirect fix