create/edit office controller