tied CRUD function to recs and slightly modified layout