(feat) adds user routes handlers and user query functions