refactor sdk to separate get and get with auth