fixed double login route