Fixed some login stuff