creating authentication in rails app from scratch (railscast #250)