Bug Fix and Improvement

- changed name of model variables to reflect the new naming style in the
database
- added notification system
- improve vote.js