Added code to rate videos