preventing resetting of user if alreasy present in user