I have a node server right now and with each request I'm making a getUser call to authenticate the user. Is there a way to integrate that part directly into the server's database queries so that it checks the authentication token before doing its other stuff?