Updated user exist functionality