commit of investor part

commit of investor part and login/logout handling