fixed the bug create an object of the class using access_token

#12