chage db structrue, and chang non-provider login