Working routing based on database-backed controller