How should I approach tasks like logging into the website and watching ajax calls from the site with node?