Added aithentication to ensure only returns data belonging to current user
Fixed bug in last commit
Added basic graphing
Removed nullable to fix error