Simplify OAuth controller functions