Fixed authentication failure url
fix bug where activities were null