add simple api client
add success handler to auth method
example piongapi usage