Adding RedirectRequest
Fixing error on redirect
Fixing syntax error