this should not be a bool pointer.
downgraded session exceptions to just errors.
I don't remember why this is important