Observer

```java
DBObject userData = new BasicDBObject("username",user.getUsername()).append("password",user.getPassword())
createAccount(user.getUsername())
users().insert(userData)
```

Fewer lines , more readable