Add atomic transaction when setting successful login attempt