fix routing and add project loading/creation hooks