change user auth to get local env variables