defining relationships in models User has_many Games and Game belongs_to User