moving dropbox login into a service, complete oauth flow, reading data from the api