Removed unnecessary brackets from user array, removed ['device'] attribute