Authlogic::Session::MagicStates - Automatically validates based on the
records states: active?, approved?, and confirmed?. If those methods
exist for the record.
just create a active? method in your user model.
one easy way is to create a boolean column in your user table named
something like active and put this in your user model
def active?
self.active
end
if active? returns true, they can login, if it returns false, they
will be blocked from logging in.