user nav logic