Made the controller more generic since I want more stat dashboards at some point