Changed error/redirect system, began work on auth system.