added some login stuff.