Refactor User#expire_reset_tokens and User#generate_reset_token