loginService documentation; partial documentation