fixed screwyness in login stuff