Fixed add user function.