Improve session handler and add Ajax session check