added details to record_user_credits