authentication via database, stage II
(it already works !)