fix return value in fetch_user_data