Infrastructural code for authentication and Splash.