corrected server.js in TharnAuth