fix login problems
remove xml repair - make more problems than it solves