Excercise in Rails 4.1 allowing users to sign in and out while keeping their login attempts limited