Authentication and response

Changed the authentication method by adding a getToken method. I also changed the response. Now you get the full response, in former version it was only the items.