I got a problem with synchrozation of code. So the function that checks if email is unique is returning value faster than loop in the query to the DB is done. Actually the c