Add missing import on /dashboard

The view returns a 500 at the moment.