added an example book and changed login to a get method