init listener on signin and signup