login method
added local tests class
ddd