changes the get-user api