Changed redirect
Cached rating in DB and fixed sort bug