I'd like to suggest model.setUsername(@username) here so that we don't violate the law of demeter.