Added LoggedIn flag and put in barebones framework for getting SCPs