fixed more login stuff