Correct error message looping.
Fix sessions and requests methods to access data.
Set default options and disable CSRF on index because of an unknown bug.