Fix #140 - username was not being stored