$c->authenticate({ id => $c->req->param("login"), password => $c->req->param("password") });