Added session density stat and always print error on 500