$dispatch{self_test} = sub { $self->login };