Moved chart generation from user controller to user model
Refactored to use more user model methods to make user controller more readable
Merge pull request #92 from whoisglover/charts_refactor

Charts refactor