Changed nav from static to database-based