change login nav logic