Added race for homepage redirect, moved tasks into new controller