configured activerecord for bussiness layer and enabled sessions