I modified the DashboardController.java according to review comment.