need this to make the avalon login work