Refactor user management CRUD and created URL rewriting