Added register snippet in homepage