figure out why this is failing
fix the redirect thing
this will log info about every use and show more explanation for the https situation