added index view for devices table