refactor(navbar): use string comparision to match state urls