fixed dashboard controller (removed constructor)