prim for addsign and login