Create table view for devices