adding https support for getting profile picture