Improvements in "vote" model
Added csrf and cookie protection; improvements in rating widget