Refactor code for coordinator admin