changning references to the old site and some extra authentication