T004 authentificate user with db storage

Discussed in chat. Fixed