You don't need to generate the uniqid, it does all this for you.