add register and FE template