add security support to navigation.