add initial login stuff, remove some scraps