City officials get sworn in