main navigation checks if module exists