double login bug fixed