added locked and terms_accepted to UserProfile
New rep info in crons
remove order item if quantity = 0