Added bar chart to user dashboard

New changes include being able to switch between radial chart and bar chart in the dashboard and the existence of the new bar chart. Also, the API endpoints for chart data are renamed to accommodate more charts in the future.