login failed bug fixed