setup login library & unit test