Fixed add user functionality