used servicelocator to get identity