fixed some login stuff.