Split the navbar and main page (views)
Fix the debug mode activation