updated dashboard view based on role