Updated linz to throw error if verifyPasswordResetHash() is not defined in user model when it is expected. Update forgotten password and reset password middlewares to pass in the res as an arguement to the respective functions.