remove active record and create home page