rest database before change password