Updated urls and repaired the auth method