Modify login process.