redirectUrl is now an empty array being returned so length must also be checked
Made error page and stylesheet