user APIs for version 2
fix routes to support multiple formats
Add getuser and some admin functionalities