initial login stuff, DOES NOT WORK