refactor name page