resetPassword now checks if a newPassword has been supplied