modified dashboard controller