Fixed speakingurl
Refactored auth so it can be overriden