Dynamically generate topics in navigation from DB