edited migration, removed public index and reconfigured root route