Some small revolution - user authorization by DB is now working.