User id can be passed via query or params