Added html and js for rating
Fixed bugs and rating works in db, should also show the ratings