Modify login activity