Added SSL in production
Changed gravatar functions