fix create-update user on login and send wp mail