register to website in functions