working service with sessions