enabled ActiveRecord based session store and make it configurable