changed user_signup to include spree orders in derived table