function to download user profile pictures