working on external login service for TIES