register events in navigate to