login system further upgrade