Created a devicesController