added actual query of the database (for single user)
use serviceName only in service_workers: nobody else cares