     @connected(token, silent: true) if token
     @unsaved = []
 
+  pluginInit: () ->
+    jQuery("body").append @view.render()
+    @lookupBook().done
+
   lookupBook: ->
-    @book.deferred = @client.matchBook @book unless @book.deferred
+    return @book.deferred if @book.deferred
+
+    @book.deferred = if @book.id
+      @client.getBook @book.id
+    else
+      @client.matchBook @book
+
+    @book.deferred.then(@_onBookSuccess, @_onBookError).done =>
+      @view.updateBook @book
 
   lookupReading: ->
     @lookupBook() unless @book.id

class Readmill extends Annotator.Plugin
  @API_ENDPOINT: "http://localhost:8000"



  connected: (accessToken, options) ->
    @client.authorize accessToken
    @client.me().then(@_onMeSuccess, @_onMeError).done =>
      @view.login @user

    @store.set "access-token", accessToken, options.expires

    unless options?.silent is true
