Add generate_refresh_token method