Fixed signin/signout issues.
Updated books app