Add DB timeout and manage admin rights