fixed demo login bug