Fixing user names being written twice