Initial work with device component. Fix admin dashboard.