reset password dependence on cosi