removing permalink code from oauth, it's not needed