has_many and belongs_to for user, bid, payment