modify login model