Fixed routing and validation for main page, home page, auto page