hmm. I wonder if you should keep the loginAPI for now so this functionality can be kept?

Can you instantiate the loginAPI without having it set up routes on express?