login redirect working, remove some files