You shouldn't be using the login method to begin with, you want authenticate. Pay less attention to the book (which has very little to do with anything) and more to the docs. Andrew