E-book server & client side code