added basic crud function for homepage boxes