Referall system problem

please help me I created referall system with firebase . If a presigned email is kept in email box and other details filled with an referall id (user id) points are keep on increasing as many time sign up button is clicked . it even shows no erorr my block image is

As you have problem and asking for solution so I have changed your topic category from #koded to #discuss.