added is_admin logic on dashboard view