Pie CRUD with authentication