added support of reset password