full crud with 2 tables