Add Login and tests