code cleanup

better module logic for dashboard in actions.js