Reformatted code, updated to new Analytics tags, fixed a problem with EmailAuthenticator