Added error handler for dashboard where it looks for recent accesses to db