Login/out working better now.