Converted login example to assume the world is a better place with reddit CORS write support