modify login block