added document and login java