set up active record per website instrucitons
implemented active record