First shot in supporting auth through popup