added dashboard functionality