changed project name. wrapped server auth in an iife