modify login activity