edited some login stuff