More changes for view helpers

Beginning to refactor oauth for view helpers too.