Added TLeaf login logic and TLeaf Server SDK logic