Refactoring: extracted DAO layer for user and order.