changing index to always spit out the pub key on localhost.com