Fix public route and index view