small bug fixes

-storage of the page (location) for kindle books
-better (shorter)  user token generation on registeration