Made changes that allowes Auth to be used in a local environment (localhost)