Fixed typo in rate_note
Get username from session rather than as a POST parameter in `rate_note`
Added Frontend for rating system