Main backend for the dashboard