Chap 8 Signin works with Rails3.x code from the book