[D1.1]Add Login Java Code