get ip then pass