T004 authentificate user with db storage

Done. But i leave ability to generate password without user instance