Following railscast 250 - creating authentication in a Rails app from scratch.