Only add user if it does not exist.
Make mkdir more robust.