misc

fixed product purchasing and return user_id on registration