Updated function names in Error + Redirect