public static function destroy($id)
 {
     self::check_logged_in();
     $itemtype = new ItemType(array('id' => $id));
     $itemtype->destroy();
     Redirect::to('/itemtype', array('message' => 'The item type has been removed successfully!'));
 }