- Updated the getUser function to utilize getPuppeteerPage for improved page handling. - Simplified request interception logic by moving it into the new function. - Ensured proper resource management by replacing browser.close() with destory().