added active records, added index, added strong params