start of styling changes to best practices
added legend.js for charts
user state
user state