Update new user example to use basic auth