add user rest which will use rest API