the login dao is commit