Took out an end from task controller and apparently some devise things needed updating