finish up some login stuff