T004 authentificate user with db storage

Please create common style for yourself: in method `hashPassword` you don't wrap `if` block with blank lines, but here you do