add users router
fix bugs.