adding create to devices controller