Make the resetPassword method actually reset the password