few more changes to duplicate user checking, still doesnt work