added user_ids, set up activerecord associations, cahnged some other shit