LoginExample An example of a pattern I call "Gateway View Controller" for handling login states in your apps. See this for more information.